<script setup>
import SonCom from './SonCom.vue'
</script>
<template>
    <div class="fath">
        <h1>父组件</h1>
        <SonCom></SonCom>
    </div>
</template>

<style scoped>
.fath {
    padding: 30px;
    border: 1px solid lightgreen;
}
</style>